﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProcessosSemEncaminharColegiado.aspx.cs" Inherits="SAAC.Colegiado.ProcessosSemEncaminharColegiado" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="gvwMeusProcessos" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        OnSelectedIndexChanged="gvwMeusProcessos_SelectedIndexChanged">
        <Columns>
            <asp:ButtonField ButtonType="Link" CommandName="Select" Text="Selecionar" />
            <asp:BoundField DataField="Numero" HeaderText="Número" InsertVisible="False" ReadOnly="True" />
            <asp:BoundField DataField="Abertura" HeaderText="Data de Abertura" InsertVisible="False"
                ReadOnly="True" />
            <asp:BoundField DataField="Termino" HeaderText="Data de Termino" InsertVisible="False"
                ReadOnly="True" />
            <asp:BoundField DataField="Status" HeaderText="Status" InsertVisible="False" ReadOnly="True" />
            <asp:BoundField DataField="Colegiado.Nome" HeaderText="Colegiado" InsertVisible="False"
                ReadOnly="True" />
            <asp:BoundField DataField="FuncionarioCriador.Matricula" HeaderText="Funcionário"
                InsertVisible="False" ReadOnly="True" HtmlEncode="False" />
        </Columns>
    </asp:GridView>
    <div class="title" style="float: left; position: relative">
        <asp:Panel runat="server" ID="pnlProcesso" Visible="false">
            <div>
                <asp:Label runat="server" ID="lblNumeroProcesso" Text="Número do Processo:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtNumero" Enabled="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblDataAbertura" Text="Data de Abertura:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtDataAbertura" Enabled="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblDataTermino" Text="Data de Término:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtDataTermino" Enabled="false"></asp:TextBox><br />
            </div>
            <div>
                <asp:Label runat="server" ID="lblStatus" Text="Status:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtStatus" Enabled="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblNomeColegiado" Text="Nome do Colegiado:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtNomeColegiado" Enabled="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblMatriculaFuncionario" Text="Matrícula do Funcionário:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtMatriculaFuncionario" Enabled="false"></asp:TextBox>
            </div>
            <asp:Button ID="btnEncaminharProcesso" Text="Encaminhar Processo" runat="server" OnClick="btnEncaminharProcesso_Click" />
        </asp:Panel>
        <br />
        <asp:Panel runat="server" ID="pnlProfessores" Visible="false">
            <asp:GridView ID="gdvProfessor" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                OnSelectedIndexChanged="gdvProfessor_SelectedIndexChanged">
                <Columns>
                    <asp:ButtonField ButtonType="Link" CommandName="Select" Text="Selecionar" />
                    <asp:BoundField DataField="Matricula" HeaderText="Matrícula" InsertVisible="False"
                        ReadOnly="True" />
                    <asp:BoundField DataField="Nome" HeaderText="Nome" InsertVisible="False"
                        ReadOnly="True" />
                    <asp:BoundField DataField="Colegiado.Nome" HeaderText="Colegiado" InsertVisible="False"
                        ReadOnly="True" />
                </Columns>
            </asp:GridView>
        </asp:Panel>
        <br />
    </div>
</asp:Content>
